<?php
class App_Module_Admin_Tpl_Block_Editform extends App_Tpl_Form
{
	protected function CreateForm($obj)
	{
		$this->obj = $obj;
		
		$tpl = $this->GetTpl('Base');
		$form = $this->RenderForm();
		$tpl->ShowMultilangBlock($this->IsMultilang());
		return $tpl->LoadTemplate($this->GetHeaderTitle(), $form, $this->GetHeaderIcons());
	}

    protected function RenderForm()
    {
    	return $this->render('form/block/edit/_form.phtml');
    }
	
    protected function RenderFieldInput()
    {
    	return $this->render('form/block/edit/_fieldvalue.phtml');
    }
    
    protected function RenderFieldWrapper()
    {
    	return $this->render('form/block/edit/_fieldwrapper.phtml');
    }
	
    protected function RenderBlock()
    {
    	return $this->render('form/block/edit/_block.phtml');
    }
    
    protected function RenderGroup()
    {
    	return $this->render('form/block/edit/_group.phtml');
    }

	protected function GetActionUrl()
	{
		return '';
	}
	
	protected function GetBackUrl()
	{
		return '';
	}
	
	protected function GetHeaderIcons()
	{
		return array();
	}
}